<script>
  import $ from 'dfish-widget'
  import Checkbox from './Checkbox.vue'

  export default {
    mixins: [Checkbox],
    data() {
      return {
        name: 'Radio',
        remark: '单选框',
        deprecate: 'min-size,max-size',
        slots: [{
          name: 'default',
          remark: '绑定单选框的表单',
          option: '表单组件'
        }, {
          name: 'text',
          remark: '文本内容插槽',
          option: ''
        }]
      }
    },
    created() {
      this.merge([{
        name: 'cancelable',
        type: 'Boolean',
        remark: '是否可取消当前选中的选项',
        option: '',
        default: ''
      }, {
        name: 'value',
        remark: '单选框的值'
      }], 'attrs')
    }
  }
</script>

<style>
</style>
